﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	x:Class="AzukiMapUI.LayerExpressionDialog"
	d:DesignWidth="640" d:DesignHeight="680"
    xmlns:basics="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls" 
    xmlns:AzukiMapUI="clr-namespace:AzukiMapUI">

    <Grid x:Name="LayoutRoot">
        <AzukiMapUI:PopupWindow x:Name="WndLayerExpression" Margin="0,0,0,0" ShowStatus="False" Grid.RowSpan="2" >
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition Height="*"/>
                    <RowDefinition Height="26"/>
                </Grid.RowDefinitions>
                <basics:TabControl Height="480" Width="640" Margin="2,4,2,4">
                    <basics:TabItem Header="Visibility">
                        <Grid>
                            <AzukiMapUI:LayerVisibility x:Name="LayerVisibilityPart"/>
                        </Grid>
                    </basics:TabItem>
                    <basics:TabItem x:Name="TabExpression" Header="Expression">
                    	<AzukiMapUI:LayerExpressionSelect x:Name="ExpressionSelectPart" Height="Auto" Width="Auto"/>
                    </basics:TabItem>
                </basics:TabControl>

                <Rectangle Margin="0,0,0,0" Grid.Row="1" Fill="#FFFEFEFE" Stroke="{x:Null}"/>
                <Button x:Name="BtnOk" Click="BtnOk_Click" HorizontalAlignment="Right" Margin="0,1,4,1" Width="86" Grid.Row="1" Content="Ok" VerticalAlignment="Center" Height="24"/>
                <Button x:Name="BtnCancel" Click="BtnCancel_Click" HorizontalAlignment="Right" Margin="0,1,96,1" Width="86" Grid.Row="1" Content="Cancel" VerticalAlignment="Center"/>
            </Grid>
        </AzukiMapUI:PopupWindow>
    </Grid>
</UserControl>